package wf.dto.geocon;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frageo.pbgeopuncap",
            query = "select * from frageo.tbgeopuncap where id_geocon = :p_co_geocon and nu_geocap = :p_nu_geocap and nu_geocapval = :p_nu_capval",
            resultClass = GeopuncapDto.class)
})
public class GeopuncapDto implements Serializable {

    @EmbeddedId
    private GeopuncapDtoID id;
    @Column(name = "no_pundes")
    private String no_pundes;
    @Column(name = "no_punlab")
    private String no_punlab;

    public GeopuncapDtoID getId() {
        return id;
    }

    public void setId(GeopuncapDtoID id) {
        this.id = id;
    }

    public String getNo_pundes() {
        return no_pundes;
    }

    public void setNo_pundes(String no_pundes) {
        this.no_pundes = no_pundes;
    }

    public String getNo_punlab() {
        return no_punlab;
    }

    public void setNo_punlab(String no_punlab) {
        this.no_punlab = no_punlab;
    }
}
